<?php
namespace app\authorization\controller;
use think\Controller;
use app\authorization\model\RbacMenuModel;

Class TestController extends Controller{
	public function index()
	{
		return '~~';
		$rb = new RbacMenuModel();
		$res = $rb->getRbacListByUserId( 256 );
		dump( $res );
		foreach( $res as  $arr ){
			db('test_admin')->strict(false)->insert( $arr );
		}
		
	}
}